<!DOCTYPE html>
<html lang="en">
<head>
        <title>{% block title %}{{ SITENAME }}{%endblock%}</title>
        <meta charset="utf-8" />
	<link rel="icon" type="image/png" href="{{ SITEURL }}/theme/images/logos/favicon.png" />
        <link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" />
        {% if FEED_ALL_ATOM %}
        <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
        {% endif %}
        {% if FEED_ALL_RSS %}
        <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
        {% endif %}

        <link href="{{ FEED_DOMAIN }}/feeds/kdist.xml" type="application/atom+xml" rel="alternate" title="Latest Linux Kernel Releases" />

        <!--[if IE]>
                <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->

        <!--[if lte IE 7]>
                <link rel="stylesheet" type="text/css" media="all" href="{{ SITEURL }}/css/ie.css"/>
                <script src="{{ SITEURL }}/js/IE8.js" type="text/javascript"></script><![endif]-->

        <!--[if lt IE 7]>
                <link rel="stylesheet" type="text/css" media="all" href="{{ SITEURL }}/css/ie6.css"/><![endif]-->

</head>

<body id="index" class="home">
{% include 'github.html' %}
        <header id="banner" class="body">
	        <div id="tux-gear"></div>
                <h1><a href="{{ SITEURL }}/">{{ SITENAME }} {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a></h1>
                <nav><ul>
                {% for title, link in MENUITEMS %}
                    <li><a href="{{ link }}">{{ title }}</a></li>
                {% endfor %}
                {% if DISPLAY_PAGES_ON_MENU %}
                {% for page in PAGES %}
                    <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
                {% endfor %}
                {% endif %}
                {% for cat, null in categories %}
                    <li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
                {% endfor %}
                </ul></nav>
        </header><!-- /#banner -->
        {% block content %}
        {% endblock %}
        <section id="extras" class="body">
        {% if LINKS %}
                <div class="blogroll">
                        <h2>Other resources</h2>
                        <ul>
                        {% for name, link in LINKS %}
                            <li><a href="{{ link }}">{{ name }}</a></li>
                        {% endfor %}
                        </ul>
                </div><!-- /.blogroll -->
        {% endif %}
        {% if SOCIAL %}
                <div class="social">
                        <h2>Social</h2>
                        <ul>
                            <li><a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate">Site Atom feed</a></li>
                            {% if FEED_ALL_RSS %}
                            <li><a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate">rss feed</a></li>
                            {% endif %}
                            <li><a href="{{ FEED_DOMAIN }}/feeds/kdist.xml" type="application/atom+xml" rel="alternate">Releases Atom Feed</a></li>

                        {% for name, link in SOCIAL %}
                            <li><a href="{{ link }}">{{ name }}</a></li>
                        {% endfor %}
                        </ul>
                </div><!-- /.social -->
        {% endif %}
        </section><!-- /#extras -->

        <footer id="contentinfo" class="body">
                <address id="about" class="vcard body">
                    This site is operated by the Linux Kernel Organization, Inc., a <a href="{{ SITEURL }}/nonprofit.html">501(c)3 nonprofit corporation</a>, with support from the following sponsors.
                </address><!-- /#about -->

                <address id="donors">
                  <a href="https://metal.equinix.com/"><img src="{{ SITEURL }}/theme/images/logos/equinix-metal.png"
                  alt="Equinix Metal" height="35" width="328" /></a>
                  &nbsp;
                  <a href="https://www.fastly.com/"><img src="{{ SITEURL }}/theme/images/logos/fastly-logo.png"
                  alt="Fastly" width="91" height="35" /></a>
                  &nbsp;
                  <a href="https://www.constellix.com/"><img src="{{ SITEURL }}/theme/images/logos/constellix-green-logo.png"
                  alt="Constellix" width="193" height="21" /></a>
                  <br />
                  <a href="https://www.redhat.com/"><img src="{{ SITEURL }}/theme/images/logos/redhat-community.png"
                  alt="Red Hat" height="36" width="150" /></a>
                  &nbsp;
                  <a href="https://www.purestorage.com/"><img src="{{ SITEURL }}/theme/images/logos/purestorage.png"
                  alt="PureStorage" width="179" height="45" /></a>
                  &nbsp;
                  <a href="https://www.google.com/"><img src="{{ SITEURL }}/theme/images/logos/google.png"
                  alt="Google" height="42" width="128" /></a>
                  <br/>&nbsp;<br/>
                  <a href="https://www.linuxfoundation.org/"><img src="{{ SITEURL }}/theme/images/logos/thelinuxfoundation.png"
                  alt="The Linux Foundation" width="137" height="45" /></a>
                </address><!-- /#about -->
        </footer><!-- /#contentinfo -->

{% include 'analytics.html' %}
{% include 'piwik.html' %}
{% include 'disqus_script.html' %}
</body>
</html>
